package tipo;

import java.sql.SQLException;
import java.util.ArrayList;

public interface ITipo {
	public void adicionar(Tipo tipo) throws ClassNotFoundException, SQLException;
	public void editar(Tipo tipo) throws ClassNotFoundException, SQLException;
	public void remover(int idTipo) throws ClassNotFoundException, SQLException;
	public int existe(int idTipo) throws ClassNotFoundException, SQLException;
	public Tipo pesquisar(int idTipo) throws ClassNotFoundException, SQLException;
	public ArrayList<Tipo> listar() throws ClassNotFoundException, SQLException;
	public ArrayList<Tipo> listar(String nome) throws ClassNotFoundException, SQLException;
}
